micro_utils.dokka
0.12.6
common
micro_utils.dokka
/
dev.inmo.micro_utils.coroutines
/
[common]invokeOnFirstOf
invoke
On
First
Of
common
suspend
fun
<
T
,
O
>
CoroutineScope
.
invokeOnFirstOf
(
cancelOnResult
:
Boolean
=
true
,
block
:
DoWithFirstBuilder
<
T
>
.
(
)
->
Unit
,
callback
:
suspend
(
T
)
->
O
)
:
O
Content copied to clipboard